home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / fpc / source / docs / refex / ex19.pp < prev    next >
Encoding:
Text File  |  2000-01-01  |  307 b   |  13 lines

  1. Program Example19;
  2.  
  3. { Program to demonstrate the Eoln function. }
  4.  
  5. begin
  6.   { This program waits for keyboard input. }
  7.   { It will print True when an empty line is put in,
  8.     and false when you type a non-empty line.
  9.     It will only stop when you press enter.}
  10.   While not Eoln do
  11.     Writeln (eoln);
  12. end.
  13.